home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
StartupTools
/
PatchMath020.readme
< prev
next >
Wrap
Text File
|
1996-09-26
|
2KB
|
47 lines
Short: Patches executables to use '020+ math instructions
Type: util/misc
Uploader: Mark.Knibbs@lambada.oit.unc.edu
PatchMath020
This program "snoops" through other programs looking for 32 bit
interger multiply, divide and modulus subroutines and replaces
them with 68020 multiply, divide and modulus instructions. The
68000 only has 16 bit multiply and 16 bit divide (divide a 32 bit
number by a 16 bit number giving a 16 bit result and a 16 bit
modulus) instructions. C compilers for the Amiga all generate
68000 code so they must make subroutine calls to perform full
32 bit math.
This program recognizes several of these library modules and can
replace 20 or thirty opcodes with two: the multiply or divide
followed by RTS.
Programs which use 32 bit math intensively may run significantly
faster after being treated with PatchMath020. A few modified
programs run 2 to 3 times faster than the originals. A more
common result is 15 to 20 percent faster due to the fact that
multiply/divide/modulus is usually a small fraction of the
instructions executed. As an example, Sculpt 3D's object editor
runs 15% faster after being modified by PatchMath020. Silver
runs an additional 40% faster.
Note that the program is modified "in place" so be sure to
make a backup before running PatchMath020 on you program.
Also note that these modified programs will no longer run on
normal Amigas.
[PatchMath020 was supplied with Hurricane accelerator cards. It works with
many programs, such as SA4D 2.09, Imagine 2.0, etc. It needs to be updated to
recognise the routines used by recent compilers.]
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
13044 6512 50.0% 02-Jan-90 03:10:26 PatchMath020
1349 653 51.5% 15-Nov-93 11:50:30 PatchMath020.doc
-------- ------- ----- --------- --------
14393 7165 50.2% 01-Feb-94 22:03:08 2 files